09-Use of Prompt to take user input.py


Sign up Free. Don't forget to check out our challenges, lessons, solve and learn series and more ...


Code Snippet

prompt  = "I am prompting you to do something here:"
thetext = input(prompt)
print ("And this is what you wrote at the prompt!:")
print (thetext)                    

Try it yourself